<?php

// 追求者类
class Pursuit extends GiveGift
{
    private $mm;

    public function __construct(SchoolGirl $mm)
    {
        $this->mm = $mm;
    }

    public function giveChocolate()
    {
        fwrite(STDOUT, $this->mm->getName() . '送你巧克力；');
    }

    public function giveDolls()
    {
        fwrite(STDOUT, $this->mm->getName() . '送你Dolls；');
    }

    public function giveFlowers()
    {
        fwrite(STDOUT, $this->mm->getName() . '送你花；');
    }
}